package com.qm.console.dao.model;

import lombok.Data;

import java.util.List;

@Data
public class PostAuditDOWithBLOBs extends PostAuditDO {
    private String avatar;

    private String content;

    private String playAuth;

    private String coverUrl;

    private List<PostImageDO> imageVos;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getPlayAuth() {
        return playAuth;
    }

    public void setPlayAuth(String playAuth) {
        this.playAuth = playAuth == null ? null : playAuth.trim();
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl == null ? null : coverUrl.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", avatar=").append(avatar);
        sb.append(", content=").append(content);
        sb.append(", playAuth=").append(playAuth);
        sb.append(", coverUrl=").append(coverUrl);
        sb.append(", imageVos=").append(imageVos);
        sb.append("]");
        return sb.toString();
    }
}
